/* pages/propertyClue/propertyClue.wxss */
.property-clue-page {
  padding-bottom: 184rpx;

  .page-content {
    flex: 1;
    overflow: hidden;
  }

  .search-bar {
    position: relative;
    width: 750rpx;
    height: 42px;
    background-color: #fff;
    flex-shrink: 0;
    flex-basis: content;
    border-bottom: 1px solid #EDEFF3;
    padding: 0 30rpx;
    box-sizing: border-box;
    align-items: center;

    .search-item {
      height: 100%;
      color: #86909C;
      font-size: 28rpx;
      line-height: 42px;

      &.is-active {
        color: var(--td-brand-color);

        .t-icon-custom {
          color: var(--td-brand-color) !important;
        }
      }
    }

    .search-placeholder {
      width: 144rpx;
      height: 100%;
    }

    .company-search {
      width: 144rpx;
      height: 100%;
      padding-top: 2px;
      box-sizing: border-box;
      overflow: hidden;
      transition: width 0.2s;
      font-size: 26rpx;
      color: #86909C;
      position: absolute;
      top: 0;
      right: 30rpx;

      .fold {
        display: none;
      }

      .close-icon {
        display: none;
        position: absolute;
        top: 14px;
        right: 42px;
        z-index: 1000;
      }

      &.input-is-focus {
        width: 720rpx;
        padding-left: 24rpx;

        .fold {
          display: inline-block;
          flex-shrink: 0;
          padding-left: 20rpx;
        }

        .close-icon {
          display: inline-block;

        }
      }

      .search-input {
        flex: 1;
        --td-search-clear-icon-font-size: 28rpx;
        --td-search-font-size: 28rpx;
        --td-search-icon-font-size: 36rpx;
        --td-search-height: 30px;
        --td-search-padding: 16rpx;
      }
    }
  }

  .types-box {
    width: 750rpx;
    background-color: #fff;
    height: 207px;
    position: relative;

    .type-loading {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .swiper-container {
      height: 100%;

      .swiper-item {
        box-sizing: border-box;
        padding: 20rpx 30rpx;
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: space-between;

        .type-item {
          width: 226rpx;
          height: 84rpx;
          padding: 10rpx;
          margin-bottom: 15px;
          position: relative;
          box-sizing: border-box;

          .checked {
            position: absolute;
            top: -1px;
            right: 0;
            width: 34rpx;
            height: 34rpx;
          }

          &.is-active {
            border-radius: 3px;
            border: 1px solid #3375F5;
          }

          .type-icon {
            width: 64rpx;
            height: 64rpx;
            margin-right: 8rpx;
          }

          .num {
            font-size: 28rpx;
            color: var(--td-brand-color);
            font-weight: 500;
            line-height: 14px;
            padding-bottom: 4px;

            &.invalid {
              color: #86909C;
            }
          }

          .type-name {
            font-size: 24rpx;
            line-height: 19px;
            white-space: nowrap;
            width: 140rpx;
            font-weight: 400;
            color: #86858B;
          }
        }
      }
    }
  }

  .stastic-bar {
    width: 750rpx;
    height: 28px;
    background-color: #f5f5f5;
    padding-left: 30rpx;
    font-size: 24rpx;
    box-sizing: border-box;
    line-height: 28px;

    .num {
      color: #F04040;
    }
  }

  .clue-list-container {
    width: 750rpx;
    min-height: 200px;

    .clue-item {
      width: 100%;
      background-color: #fff;
      border-bottom: 5px solid #f5f5f5;
      box-sizing: border-box;
      padding: 20rpx 30rpx;

      .title-name {
        color: #333;
        font-size: 30rpx;
        font-weight: 500;
        line-height: 16px;
      }

      .tags {
        margin-top: 7px;
        margin-bottom: 10px;

        .custom-tag {
          color: #4458FE;
          font-weight: 500;
          font-size: 24rpx;
          // line-height: 16px;
          padding: 2px 4px;
          border-radius: 3px;
          background: #F2F2FF;
          margin-right: 10rpx;
        }
      }

      .line {
        width: 100%;
        height: 1px;
        background: #EDEFF3;
      }

      .clue-object {
        padding-top: 20px;

        .clue {
          color: #999;
          font-size: 28rpx;

          .clue-icon {
            width: 28rpx;
            height: 28rpx;
            margin-right: 3px;
          }
        }

        .name {
          font-size: 28rpx;
          line-height: 12px;
          margin-top: 10px;

          &.active {
            color: var(--td-brand-color);
          }

        }
      }

      .clue-labels {
        flex-wrap: wrap;

        .label-box {
          width: 345rpx;
          margin-bottom: 20px;
          box-sizing: border-box;

          .label {
            color: #999;
            font-size: 28rpx;
            line-height: 12px;
          }

          .value {
            color: #333;
            font-size: 28rpx;
            line-height: 20px;
            margin-top: 10px;

            &.danger {
              color: #F04040;
            }

            &.primary {
              color: var(--td-brand-color);
            }

            &.success {
              color: green;
            }
          }
        }

        .label-box:nth-child(even) {
          padding-left: 40rpx;
        }

        .label-box:nth-child(odd) {
          position: relative;
          padding-right: 20rpx;

          .line {
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            width: 1px;
            height: 22px;
            background: #CFCFCF;
          }
        }

        .label-box:last-child {
          .line {
            display: none;
          }
        }

      }

      .clue-analy {
        border-radius: 3.818px;
        background: #F3F8FF;
        color: #333;
        font-size: 28rpx;
        line-height: 22px;
        padding: 10rpx;
        box-sizing: border-box;

        .icon {
          width: 28rpx;
          height: 28rpx;
          margin-right: 10rpx;
          flex-shrink: 0;
        }
      }

      .date {
        color: #999;
        font-size: 28rpx;
        padding-top: 20rpx;
      }

    }
  }

  .loading-container {
    padding: 4px 0;
    padding-bottom: 40rpx;
    text-align: center;
    color: #86858B;
  }
}